import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/designer',
      name: 'designer',
      component: ()=> import("@/views/designer/index.vue"),
    },
    {
      path: '/md',
      name: 'md',
      component: ()=> import("@/views/canvas-view/test.vue"),
    },
    {
      path: '/view',
      name: 'view',
      component: ()=> import("@/views/designer/view.vue"),
    },
    {
      path: '/canvasView',
      name: 'canvasView',
      component: ()=> import("@/views/canvas-view/index.vue"),
    },
    {
      path: '/ImageAnnotator',
      name: 'ImageAnnotator',
      component: ()=> import("@/components/imageAnnotator/index.vue"),
    },
  ],
})

export default router
